//
//  GoodsSearchResultModel.m
//  LoveHappyShopping
//
//  Created by 白水非泉 on 16/6/27.
//  Copyright © 2016年 白水非泉. All rights reserved.
//

#import "GoodsSearchResultModel.h"

@implementation GoodsSearchResultModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        self.title=dict[@"title"];
        self.price=[dict[@"price"] floatValue];
        self.price_with_rate=[dict[@"price_with_rate"] floatValue];
        self.pic_path=dict[@"pic_path"];
        self.item_id=dict[@"item_id"];
    }
    return self;
}
+(instancetype)resultModelWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
